package bruce.java;

/**
 * @author TaoTaojs
 * @date 2021/3/16 下午2:01
 * <p>Description</p>
 * <h2>功能描述</h2>
 *
 * <h3>主要功能：</h3>
 * <ol>
 *     <li></li>
 * </ol>
 * <h3>关联类</h3>
 * <p>参考链接：</p>
 * <h2>更新日志</h2>
 * [author]        [time]                      [version]          [desc]
 * TaoTaojs        2021/3/16 下午2:01             V1.0
 */
@SuppressWarnings("ALL")
public class By3_9 {

    public static void main(String[] args) {
        int index = 10;
        while (true){
//            float f;
            double f;
            try {
                f = (float) Math.pow(10, ++index);
                if(f == Float.POSITIVE_INFINITY){
                    break;
                }
            }catch (Exception e){
                break;
            }
            System.out.println(f);
        }
    }

}
